package com.ctshk.rpc.visa.dto.visa;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 证件
 * </p>
 *
 * @author 陈雷
 * @since 2021-2-3
 */
@Data
@ApiModel(value="VisaCertificatesDTO", description="证件")
public class VisaCertificatesDTO implements Serializable {

    @ApiModelProperty(value = "证件类型ID")
    private Long certificatesTypeId;

    @ApiModelProperty(value = "证件类型")
    private String certificatesType;

    @ApiModelProperty(value = "证件号码")
    private String certificatesNumber;

    @ApiModelProperty(value = "证件有效期")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private LocalDate vaildDate;
}
